package com.sjgtw.cloud.web.drillPlan.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sjgtw.cloud.common.core.annotation.Excel;
import com.sjgtw.cloud.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 应急演练管理对象 t_eg_drill_plan
 * 
 * @author ruoyi
 * @date 2024-03-16
 */
public class DrillPlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 区段id */
    @Excel(name = "区段id")
    @ApiModelProperty("区段id")
    private Long sectionId;

    /** 工区id */
    @Excel(name = "工区id")
    @ApiModelProperty("工区id")
    private Long workAreaId;

    /** 演练项目 */
    @Excel(name = "演练项目")
    @ApiModelProperty("演练项目")
    private String project;

    /** 演练时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("演练时间")
    private Date drillTime;

    /** 方案文件名称 */
    @Excel(name = "方案文件名称")
    @ApiModelProperty("方案文件名称")
    private String planFileName;

    /** 方案url */
    @Excel(name = "方案url")
    @ApiModelProperty("方案url")
    private String planFileUrl;

    /** 总结文件名称 */
    @Excel(name = "总结文件名称")
    @ApiModelProperty("总结文件名称")
    private String summaryFileName;

    /** 总结url */
    @Excel(name = "总结url")
    @ApiModelProperty("总结url")
    private String summaryFileUrl;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSectionId(Long sectionId) 
    {
        this.sectionId = sectionId;
    }

    public Long getSectionId() 
    {
        return sectionId;
    }
    public void setWorkAreaId(Long workAreaId) 
    {
        this.workAreaId = workAreaId;
    }

    public Long getWorkAreaId() 
    {
        return workAreaId;
    }
    public void setProject(String project) 
    {
        this.project = project;
    }

    public String getProject() 
    {
        return project;
    }
    public void setDrillTime(Date drillTime) 
    {
        this.drillTime = drillTime;
    }

    public Date getDrillTime() 
    {
        return drillTime;
    }
    public void setPlanFileName(String planFileName) 
    {
        this.planFileName = planFileName;
    }

    public String getPlanFileName() 
    {
        return planFileName;
    }
    public void setPlanFileUrl(String planFileUrl) 
    {
        this.planFileUrl = planFileUrl;
    }

    public String getPlanFileUrl() 
    {
        return planFileUrl;
    }
    public void setSummaryFileName(String summaryFileName) 
    {
        this.summaryFileName = summaryFileName;
    }

    public String getSummaryFileName() 
    {
        return summaryFileName;
    }
    public void setSummaryFileUrl(String summaryFileUrl) 
    {
        this.summaryFileUrl = summaryFileUrl;
    }

    public String getSummaryFileUrl() 
    {
        return summaryFileUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sectionId", getSectionId())
            .append("workAreaId", getWorkAreaId())
            .append("project", getProject())
            .append("drillTime", getDrillTime())
            .append("planFileName", getPlanFileName())
            .append("planFileUrl", getPlanFileUrl())
            .append("summaryFileName", getSummaryFileName())
            .append("summaryFileUrl", getSummaryFileUrl())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
